﻿


-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[ChangeUnit_ResUma]
	@codunitate smallint
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;
	--DECLARE @nrRegSetup int
	--SELECT @nrRegSetup=Count(*) FROM [ResUmaSup] where [CodUnitate]=@codunitate
	--if @nrRegSetup=0
	--	INSERT INTO [ResUmaSetup](PrimaryKey,LunaCurenta,AnulCurent,LunaArhivata,CodUnitate) 
	--	VALUES(0,0,2009,0,@codunitate)

END